package org.jsola.contract.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.entity.BaseCreateDO;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 合同模板关联变量
 *
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "con_template_variable")
public class TemplateVariableDO extends BaseCreateDO<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 分类id
     */
    private Long templateId;
    /**
     * 变量id
     */
    private Long variableId;


    /**
     * 变量名称
     */
    @Transient
    private String variableName;

    /**
     * 变量类型
     */
    @Transient
    private String variableType;

}

